import './index.less'
// 引入了Vue，引入的是runtime-only的vue
import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)

import App from './App.vue'
import {
    Swipe,
    SwipeItem,
    Col,
    Row,
    Tab,
    Tabs,
    Lazyload,
    List,
    PullRefresh,
    Cell,
    Search,
    Notify,
    Tag,
    Icon,
    Toast,
    Dialog
} from 'vant';
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Lazyload);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Cell);
Vue.use(Search);
Vue.use(Notify);
Vue.use(Tag);
Vue.use(Icon);
Vue.use(Toast);
Vue.use(Dialog);


import router from './router'

import store from './store'

const vm = new Vue({
    el: '#app',
    render: c => c(App),
    router,
    // 挂载store到vue实例上
    store
});